package com.gzlww.tset;

import java.awt.Frame;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

public class TankClient extends Frame{

	public void lauchFrame(){
		this.setLocation(250,100);
		this.setSize(800, 600);
		this.setTitle("Tank War");
		this.addWindowListener(new WindowAdapter(){
			public void windowClosing(WindowEvent e) {
				System.exit(0);
			}
	});
		this.setResizable(false);
		this.setVisible(true);		
	}
	
	public static void main(String[] args) {
		TankClient tc = new TankClient();
		tc.lauchFrame();
	}

}
